package org.steven.crm.core.exception;

import com.steven.common.errors.StandardErrors;

/**
 * @Author wuzw
 * @Date 2023/5/25 16:19
 * @Version 1.0
 */
public class BusinessErrors {

    public static StandardErrors.ServerError AUTH_WRONG = new StandardErrors.ServerError("1000", "授权错误");

    public static StandardErrors.ServerError AUTH_USER_CODE_WRONG = new StandardErrors.ServerError("1100", "登录凭证错误");
    public static StandardErrors.ServerError AUTH_TOKEN_EXPIRED = new StandardErrors.ServerError("1110", "登录凭证已过期");

    public static StandardErrors.ServerError USER_NOT_FOUND = new StandardErrors.ServerError("1120", "找不到对应用户");

    public static StandardErrors.ServerError USER_ERROR_PWD = new StandardErrors.ServerError("1130", "登录密码不正确");

    public static StandardErrors.ServerError ORG_UN_VALID = new StandardErrors.ServerError("1200", "机构已过期或已停用");

    public static StandardErrors.ServerError ORG_EXPIRE = new StandardErrors.ServerError("1210", "机构已过期");

    public BusinessErrors() {
    }
}
